package com.study.talk.ui.app.home.fragment

import android.app.Application
import androidx.lifecycle.LiveData
import com.study.talk.ui.app.base.BaseViewModel
import com.study.talk.data.model.ChatCache
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

@HiltViewModel
class HomeFragmentViewModel @Inject constructor(application: Application) : BaseViewModel(application){
    fun loadCaches() : LiveData<MutableList<ChatCache>>{
        return msgRepository.getCaches()
    }
}